
/* 知识库图标展示部分 */
.vector-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    justify-content: flex-start; /* 确保项目左对齐 */
    width: 800px;
}

.vector-card {
    flex: 0 0 calc(20% - 10px);  /* 推荐：更灵活 */ /*固定宽度，不再伸缩*/
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    width: 160px;
    padding: 16px;
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    margin: 10px;
}

.vector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.kb-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #1a73e8;
}

.vector-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.no-data {
    color: #999;
    font-style: italic;
    padding: 20px;
}





/* 卡片内的操作按钮 */
.card-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    justify-content: space-between; /* 让按钮分两边或并列 */
}

.card-actions button,
.card-actions a{
    flex: 1;
    padding: 6px 8px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-detail {
    background-color: #1a73e8;
    color: white;
}

.btn-detail:hover {
    background-color: #1967d2;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
}

.btn-delete:hover {
    background-color: #c0392b;
}